home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-serious-
/
workbench
/
-datatypes-
/
rgfx-dt
/
install
next >
Wrap
Text File
|
1999-11-30
|
2KB
|
107 lines
;$VER:rgfx.datatype Install 43.12
(set #dt-dir
(askdir
(prompt "Where do you store your datatypes ?")
(help @askdir-help)
(default "SYS:Classes/DataTypes")
)
)
(set #dc-dir
(askdir
(prompt "Where do you store your descriptor files ?")
(help @askdir-help)
(default "DEVS:DataTypes")
)
)
(set #ask
(askbool
(prompt "Do you want the converter DT2RGFX to be installed ?")
(default 1)
(help @askbool-help)
)
)
(set #prefs-dir
(askdir
(prompt "Where do you store your preferences for datatypes ?")
(help @askdir-help)
(default "SYS:Prefs/DataTypes")
)
)
(set #libname "render.library")
(if (not (patmatch "68881|68882|FPU040" (database "fpu")))
(
(if (patmatch "68020|68030|68040" (database "cpu"))
(
(set #libname "render.library_68040")
)
)
(if (patmatch "68060" (database "cpu"))
(
(set #libname "render.library_68060")
)
)
)
)
(debug #libname)
(copylib
(prompt "rgfx.datatype")
(help @copylib-help)
(source "Classes/DataTypes/rgfx.datatype")
(dest #dt-dir)
(confirm)
)
(copylib
(prompt "render.library")
(source (tackon "Libs" #libname))
(dest "LIBS:")
(newname "render.library")
(help @copylib-help)
(confirm)
)
(copyfiles
(source "Devs/DataTypes/RGFX")
(dest #dc-dir)
)
(copyfiles
(source "Env/DataTypes/rgfx.prefs")
(dest "ENVARC:DataTypes")
)
(copyfiles
(source "Env/DataTypes/rgfx.prefs")
(dest "ENV:DataTypes")
)
(copyfiles
(source "Prefs/RGFXPrefs")
(dest #prefs-dir)
(infos)
)
(if (= #ask 1)
(
(set #c-dir
(askdir
(prompt "Where do you want the converter to be copied ?")
(help @askdir-help)
(default "C:")
)
)
(copyfiles
(source "C/DT2RGFX")
(dest #c-dir)
)
)
)